﻿using System;
namespace XF.Model
{
	/// <summary>
	/// Bill_STOItems:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Bill_STOItems
	{
		public Bill_STOItems()
		{}
		#region Model
		private int _id;
		private string _ordercode;
		private int? _item;
		private int? _materielid;
		private int? _unit;
		private decimal? _qty;
		private string _remark;
		private DateTime? _createdate;
		private string _createuser;
		private DateTime? _lastupdatedate;
		private string _lastupdateuser;
		private bool _enable= true;
		private string _supplier;
		private int? _status = 0;
		#region 扩展属性
		private int? _orderId;
		private string _materielname;
		private string _materielmodel;
		private decimal? _doqty;
		private decimal? _lastprice;
		private DateTime? _orderdate;
		private int? _customerid;
		private string _customercode;
		private string _customername;
		private string _itemcode;
		private string _orderremark;

		public int? OrderId
        {
			get { return _orderId; }
			set { _orderId = value; }
		}

		public string MaterielName
        {
            get { return _materielname; }
            set { _materielname = value; }
        }

		public string MaterielModel
        {
            get { return _materielmodel; }
            set { _materielmodel = value; }
        }
		public decimal? DoQty
		{
			get { return _doqty; }
			set { _doqty = value; }
		}
		public decimal? LastPrice
		{
			get { return _lastprice; }
			set { _lastprice = value; }
		}
		public DateTime? OrderDate
        {
            get { return _orderdate; }
			set { _orderdate = value; }
        }
		public int? CustomerId
		{
			get { return _customerid; }
			set { _customerid = value; }
		}
		public string CustomerCode
		{
			get { return _customercode; }
			set { _customercode = value; }
		}
		public string CustomerName
		{
			get { return _customername; }
			set { _customername = value; }
		}
		public string OrderRemark
        {
            get { return _orderremark; }
            set { _orderremark = value; }
        }
		#endregion
		/// <summary>
		/// 
		/// </summary>
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string OrderCode
		{
			set{ _ordercode=value;}
			get{return _ordercode;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? Item
		{
			set{ _item=value;}
			get{return _item;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? MaterielId
		{
			set{ _materielid=value;}
			get{return _materielid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? Unit
		{
			set{ _unit=value;}
			get{return _unit;}
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? Qty
		{
			set{ _qty=value;}
			get{return _qty;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Remark
		{
			set{ _remark=value;}
			get{return _remark;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateDate
		{
			set{ _createdate=value;}
			get{return _createdate;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CreateUser
		{
			set{ _createuser=value;}
			get{return _createuser;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? LastUpdateDate
		{
			set{ _lastupdatedate=value;}
			get{return _lastupdatedate;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string LastUpdateUser
		{
			set{ _lastupdateuser=value;}
			get{return _lastupdateuser;}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool Enable
		{
			set{ _enable=value;}
			get{return _enable;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Supplier
		{
			set { _supplier = value; }
			get { return _supplier; }
		}

		/// <summary>
		/// 
		/// </summary>
		public int? Status
		{
			set { _status = value; }
			get { return _status; }
		}

		/// <summary>
		/// 
		/// </summary>
		public string ItemCode
        {
            set { _itemcode = value; }
            get { return _itemcode; }
        }
		#endregion Model

	}
}

